
for /F "tokens=1*" %%i in (%1) do (
  echo %%i>> %2
  if not "%%j" == "" call scripts\write-tokens.bat "%%j" %2
)
